/*
** term.h for 42sh in /home/guina_b/
** 
** Made by benoit guina
** Login   <guina_b@epitech.net>
** 
** Started on  Fri Jan 01 00:00:00 2010 benoit guina
** Last update Fri Jan 01 00:00:00 2010 benoit guina
*/

#ifndef H_TERM
#define H_TERM

#define SH_TERM_BUFSIZE   5000

typedef struct s_term
{
  char buf[SH_TERM_BUFSIZE];
} t_term;

struct s_env;

t_term *term_get();
t_term *term_init(struct s_env *env);
void term_free(t_term *term);
char *term_get_input(t_term *term);

#endif
